﻿using Dapper_Core.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.BLL.Interface
{
    public interface ISideMenuBusiness
    {
        /// <summary>
        /// 获取侧边菜单资源
        /// </summary>
        /// <param name="userCode">先根据userCode进行查询</param>
        /// <param name="roleCode">根据userCode查不到菜单资源时再根据roleCode查询</param>
        /// <returns></returns>
        List<SideMenuTreeNode> GetSideMenus(string userCode, string roleCode);
    }
}
